package com.mars.module.admin.response;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mars.module.admin.entity.ApChef;
import com.mars.module.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 厨师预约记录对象 ap_user_chef_record
 *
 * @author mars
 * @date 2024-03-08
 */

@Data
@ApiModel(value = "厨师预约记录对象")
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ApUserChefRecordResponse {

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 厨师ID
     */
    @Excel(name = "厨师ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "厨师ID")
    private Long chefId;

    @Excel(name = "用户名")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户名")
    private String account;
    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    private LocalDate appointmentTime;

    /**
     * 1 早餐 2 午餐 3 晚餐
     */
    @ApiModelProperty(value = "1 早餐 2 午餐 3 晚餐")
    private Integer meals;
    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 特长
     */
    @Excel(name = "特长")
    @ApiModelProperty(value = "特长")
    private String specialty;
    /**
     * 经验
     */
    @Excel(name = "经验")
    @ApiModelProperty(value = "经验")
    private Integer experience;
    /**
     * 评级
     */
    @Excel(name = "评级")
    @ApiModelProperty(value = "评级")
    private Integer rating;
    /**
     * 头像
     */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String avatar;
    /**
     * 预约人数
     */
    @Excel(name = "预约人数")
    @ApiModelProperty(value = "预约人数")
    private Integer reservationCount;
    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    /**
     * 认证状态
     */
    @Excel(name = "认证状态")
    @ApiModelProperty(value = "认证状态")
    private Integer status;

    /**
     * 预约状态
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "预约状态")
    private boolean appointmentStatus = false;

}
